package com.shop.entity;

import java.util.List;

import javax.persistence.OneToMany;

public class Catalog {

	private String id;
	private String catalogName;
	private String createTime;
	private String username;
	private List<Product> productCataList;
	
	@OneToMany(mappedBy="product")
	public List<Product> getProductCataList() {
		return productCataList;
	}
	public void setProductCataList(List<Product> productCataList) {
		this.productCataList = productCataList;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCatalogName() {
		return catalogName;
	}
	public void setCatalogName(String catalogName) {
		this.catalogName = catalogName;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	
}
